Airwallex\Gateways\Card D

Total Complexity 137
Dependencies 17
Dependents 8
Total lines 753
Lines of code 619
Logical lines of code 287
Comment lines 35
Methods 32
Properties 10

Methods 32

Method Rating Maintainability Complexity Lines of code
payment_fields()
C
38 25 63
process_payment()
B
35 18 78
getCardLogos()
A
52 9 23
deletePaymentMethodAction()
A
52 9 22
get_form_fields()
A
41 5 65
__construct()
S
55 7 17
enqueueScriptsForEmbeddedCard()
S
48 5 31
output()
S
44 4 45
savedTokens()
S
51 5 24
change_subscription_payment_method()
S
53 4 23
syncSaveCards()
S
53 4 22
getPaymentConsentIdsInDB()
S
54 4 21
capture()
S
56 4 18
add_payment_method()
S
56 3 18
get_icon()
S
60 3 13
getCustomerClientSecret()
S
54 2 23
getTokens()
S
58 2 17
formatCardType()
S
56 2 17
has_fields()
S
70 3 6
getMetaData()
S
66 3 8
getInstance()
S
71 2 6
deletePaymentMethod()
S
71 2 6
isContainSubscription()
S
72 2 6
is_captured()
S
64 2 10
saveAwxPaymentConsentDetail()
S
62 1 11
registerHooks()
S
65 1 8
enqueueScriptForRedirectCard()
S
81 1 3
enqueueAdminScripts()
S
91 1 2
is_capture_immediately()
S
78 1 3
is_save_card_enabled()
S
78 1 3
is_skip_cvc_enabled()
S
78 1 3
getDescriptorSetting()
S
74 1 4